/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <iostream>
#include <vector>
#include <list>
#include <deque>

using namespace std;
void show(auto container,string sep=" ")
{
    for(auto ele:container)
    {
        cout << ele << sep;
    }
    cout << endl;
}
void vectorCmp(vector<int> &v1,vector<int> &v2)
{
    cout << "The former is ";
    show(v1);
    cout << "The latter is ";
    show(v2);
    if (v1>v2)
    {
        cout << "The former is greater than the latter." << endl;
    }
    else if(v1<v2)
    {
        cout << "The former is less than the latter." << endl;
    }
    else
    {
        cout << "The former is equal to the latter." << endl;
    }
}
int main_13()
{
    vector<int> v1,v2,v3({0,1,2,3,4});
    v1=v2=v3;
    vectorCmp(v1,v2);
    v1.push_back(11);
    v2.push_back(12);
    vectorCmp(v1,v2);
    vectorCmp(v1,v3);
    return 0;
}
